package com.zuipin.entity.product;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;

/**
 * 
 *
 * @ClassName ProductPrice 
 * @author wangcongyi
 * @date 2017年4月18日 下午5:09:34
 */
@ApiModel(description = "商品价格表")
public class ProductPrice {
	private Long				id;					// ID
	
	private Long				proId;				// 商品ID
	
	private Long				sysId;				// 系统ID
	
	private Long				priceType;			// 价格类型
	
	private BigDecimal			price;				// 价格
	
	private Boolean				delFlag;			// 删除标志
	
	private Long				createId;			// 创建者
	
	private String				createTime;			// 创建时间
	
	private Long				updateId;			// 更新者
	
	private String				updateTime;			// 更新时间
	
	public static final Long	MEMBERNO	= 30L;	// 30 （会员价/代理商价）
	
	public static final Long	ZUIPIN		= 32L;	// 平台价
	
	public static final Long	INTEGRAL	= 35L;	// 积分价
	
	public static final Long	MARKET		= 34L;	// 市场价
	
	public static final Long	AGENT		= 31L;	// 代理价
	
	public ProductPrice() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public ProductPrice(Long priceType, BigDecimal price) {
		super();
		this.priceType = priceType;
		this.price = price;
	}
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getProId() {
		return proId;
	}
	
	public void setProId(Long proId) {
		this.proId = proId;
	}
	
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getPriceType() {
		return priceType;
	}
	
	public void setPriceType(Long priceType) {
		this.priceType = priceType;
	}
	
	public BigDecimal getPrice() {
		return price;
	}
	
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
}